package com.codingvip.jedis;

import redis.clients.jedis.Jedis;

/**
 * @author hansongtao
 */
public class JedisTest {

    public static void main(String[] args) {
        JimuRedisPool redis = new JimuRedisPool();
        redis.execute(new CallWithJedis() {

            @Override
            public void call(Jedis jedis) {
                doSomething();
            }

        });
    }

    private static void doSomething() {
        System.out.println("do SomeThing");
    }

}